<?php
include_once(engine.'/php4/json.php');

foreach ($config['users'] as $login=>$password) {
	$users[]=array('login'=>$login,'password'=>'______');
}
echo json_encode(array("success"=>true,
						"data"=>array(
							"user_login"=>$users[0]['login'],
							"user_password"=>$users[0]['password'],
							"host"=>$config['db']['host'],
							"username"=>$config['db']['username'],
							"password"=>$config['db']['password'],
							"dbname"=>$config['db']['dbname'],
							"prefix"=>$config['db']['prefix'],
							"file"=>$config['permissions']['file'],
							"folder"=>$config['permissions']['folder'],
							"upload_dir"=>$config['upload_dir'],
							"protect_code"=>$config['protect_code'],
							
						)));
?>